package com.whosly.demo.jmh.benchmark.newclazz;

import lombok.ToString;

/**
 * @author fengyang
 * @date 2023/6/2 下午5:04
 * @see <a href="fengyang@stoneatom.com">mailTo: fengyang@stoneatom.com</a>
 */
@ToString
public class Person
{
    private String name;

    private int age;

    public Person(String name, int age)
    {
        this.name = name;
        this.age = age;
    }

    public int getAge(){
        return age;
    }
}
